within an inch of (someone's) life

Translations
à deux doigts de mourir
Definitions
A phrase used to describe a situation where someone is very close to death or serious harm, often due to extreme physical punishment or danger.